package com.bestcem.xm.ticket.service.manager.record.param;

import com.bestcem.xm.ticket.enums.TicketEventEnum;
import lombok.*;

/**
 * 工单进度记录 审核 工具类入参
 *
 * @author XiaoYunSong <ys.xiao@idiaoyan.com>
 * @version v1.0
 * @date 2021/8/18 16:09
 */
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Data
public class AuditedTicketRecordParam extends BaseTicketRecordParam {
    /**
     * isAgreed
     */
    private Boolean isAgreed;

    /**
     * auditHandle
     */
    private Integer auditHandle;

    /**
     * timeLimit
     */
    private Integer timeLimit;

    /**
     * timeLimitType
     */
    private Integer timeLimitType;

    /**
     * event
     */
    @Override
    public TicketEventEnum getEvent() {
        return TicketEventEnum.AUDITING;
    }
}
